const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  productionSourceMap: false,
  lintOnSave: false,
  publicPath: "./",
  devServer: {
    proxy: {
      "/api": {
        target: "https://admin.jogger.cc/#/",
        // target: "http://45.249.247.134:8086/",
        // target: "http://yhy787293518.eicp.net/",
        // "target" : "http://45.249.247.134:8087",
        // "target" : "http://yhy787293518.eicp.net/",
        secure: true,
        changeOrigin: true,
        pathRewrite: {
          "^/api": "",
        },
      },
    },
  },
});
